@import url(./layout.css);

/* ==========================================================================
   common part
========================================================================== */
.pic {
    overflow: hidden;
    position: relative;
    height: auto;
    cursor: pointer;
}

.bgimg {
    width: 100%;
}

.upimg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all .5s;
}

.pic:hover .upimg {
    transform: scale(1.05);
}

/* 没有放大效果 */
.upimg2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* 居中对齐 */
.upimg3 {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transition: all .5s;
}

.pic:hover .upimg3 {
    transform: translate(-50%, -50%) scale(1.05);
    -webkit-transform: translate(-50%, -50%) scale(1.05);
}

.container img {
    max-width: 100%;
}



/* ==========================================================================
   part01
========================================================================== */
.part01 {
    background: #F5F5F5;
    padding: 1rem 0 1.5rem;
}

.homePro_list {
    padding: 0 1.15rem;
    position: relative;
}

.homePro_box {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.homePro_top {
    background-color: #fff;
    height: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.homePro_bottom {
    width: 100%;
    height: 4rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.homePro_bottom::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(18, 36, 60, .5);
}

.homePro_middle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    top: 2.8rem;
}

.homePro_middle .pic {
    width: 3.5rem;
}

.homePro_title {
    font-size: .2rem;
    color: #005FD4;
    padding: .5rem 0 .4rem;
}

.homePro_name {
    font-weight: bold;
    font-size: .36rem;
    color: #212121;
}

.homePro_ckgd {
    position: relative;
    font-size: .16rem;
    color: #005FD5;
    margin: .5rem 0 0;
}

.homePro_ckgd::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.05rem;
    width: 100%;
    height: 1px;
    background-color: var(--primary);
    transition: all .3s;
}

.homePro_ckgd:hover::before {
    animation: myfirst .4s;
    -webkit-animation: myfirst .4s;
}

@keyframes myfirst {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@-webkit-keyframes myfirst {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.homePro_list .swiper-button-next,
.homePro_list .swiper-button-prev {
    width: .9rem;
    height: .9rem;
    border-radius: 50%;
    background: rgba(169, 169, 169, .5);
    transition: all .3s;
}

.homePro_list .swiper-button-next {
    right: 0;
}

.homePro_list .swiper-button-prev {
    left: 0;
}

.homePro_list .swiper-button-next:after,
.homePro_list .swiper-button-prev:after {
    font-size: .28rem;
    color: #fff;
}

.homePro_list .swiper-button-next:hover,
.homePro_list .swiper-button-prev:hover {
    background-color: var(--primary);
}

.homePro_list .swiper-pagination {
    bottom: -0.5rem;
}

.homePro_list .swiper-pagination-bullet {
    background-color: rgb(0, 95, 212, .35);
    width: .12rem;
    height: .12rem;
    transition: all .3s;
    margin: 0 .05rem !important;
}

.homePro_list .swiper-pagination-bullet-active {
    width: .4rem;
    background: #005FD4;
    border-radius: .12rem;
}

@media only screen and (max-width: 1280px) {

    .homePro_top,
    .homePro_bottom {
        height: 3.2rem;
    }

    .homePro_middle .pic {
        width: 2.3rem;
    }
}













/* ==========================================================================
   part02
========================================================================== */
.part02 {
    padding: 1rem 0;
}

.homeSolve_title {
    width: 2.2rem;
    font-weight: bold;
    font-size: .36rem;
    color: #212121;
}

.homeSolve_main {
    width: calc(100% - 2.2rem);
    height: 6rem;
    position: relative;
}

.homeSolve_bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.homeSolve_bg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(37, 80, 113, .5);
}

.hsbg_item {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all .4s;
    overflow: hidden;
    opacity: 0;
}

.hsbg_item.act {
    opacity: 1;
}

.homeSolve_list {
    width: 100%;
    height: 100%;
}

.homeSolve_list li {
    flex: 1;
}

.homeSolve_list li:not(:last-of-type) {
    border-right: 1px solid #fff;
}

.homeSolve_box {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 0 .5rem .6rem;
    box-sizing: border-box;
}

.homeSolve_name {
    font-weight: 500;
    font-size: .3rem;
    color: #FFFFFF;
    margin-top: .3rem;
}

.homeSolve_box:hover img {
    transition: all .8s;
    transform: rotateY(360deg);
}

@media only screen and (max-width: 768px) {
    .homeSolve_main {
        width: 100%;
    }

    .homeSolve_title {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 500px) {
    .homeSolve_list {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .homeSolve_list li:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px solid #fff;
    }

    .homeSolve_main {
        height: auto;
    }

    .homeSolve_box {
        padding: 20px;
    }
}










/* ==========================================================================
   part03
========================================================================== */
.part03 {
    background: #F5F5F5;
    padding: 1rem 0;
}

.home_about {
    justify-content: space-between;
}

.homeAbout_left {
    width: calc(42.5% - .8rem);
}

.homeAbout_right {
    width: calc(57.5% - .8rem);
}

.homeAbout_title {
    font-weight: bold;
    font-size: .36rem;
    color: #212121;
    text-align: right;
    margin-bottom: .2rem;
}

.homeAbout_intro {
    text-indent: 2em;
    font-size: .18rem;
    color: #333333;
    line-height: .4rem;
    margin: .36rem 0 .6rem;
}

.num_box {
    width: 40%;
}

.num_list .num_box:last-child {
    width: 20%;
}

.home_num {
    font-weight: bold;
    font-family: "roboto";
    font-size: .6rem;
    color: #005FD5;
}

.home_unit {
    font-size: 14px;
    vertical-align: .36rem;
}

.num_name {
    font-size: 16px;
    color: #005FD5;
}

@media only screen and (max-width: 1680px) {
    .homeAbout_left {
        width: 42.5%;
    }
}

@media only screen and (max-width: 920px) {
    .homeAbout_intro {
        margin: 0 0 0.6rem;
    }
}

@media only screen and (max-width: 500px) {

    .homeAbout_right,
    .homeAbout_left {
        width: 100%;
    }

    .homeAbout_intro {
        font-size: 12px;
    }

    .homePro_ckgd {
        font-size: 12px;
    }
}
















/* ==========================================================================
   part04
========================================================================== */
.part04 {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    height: 9.6rem;
}

.part04::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 63, 113, .1);
}

@media only screen and (max-width: 960px) {
    .part04 {
        height: auto;
        background-size: 100%;
        padding-top: 50%;
        background-attachment: scroll;
    }
}







/* ==========================================================================
   footer
   ========================================================================== */
footer {
    font-size: .16rem;
    padding: .8rem 0 0 0;
    color: #fff;
    position: relative;
    background: url(../images/footer.png) left center no-repeat;
    background-size: cover;
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-nav {
    text-align: justify;
    padding-bottom: .3rem;
    border-bottom: .02rem solid rgb(102, 102, 102);
}

.fn-col {
    display: inline-block;
    zoom: 1;
    vertical-align: top;
}

.footer-nav:after {
    content: "";
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

.fn-col h3 {
    margin-bottom: .2rem;
    font-size: .2rem;
}

.fn-col li a {
    font-size: .16rem;
    line-height: 2.125;
    color: rgb(206, 206, 206);
}

.fn-col li a:hover{
    color: #FFFFFF
}

.foothd {
    padding: .4rem 0;
    text-transform: Uppercase;
    color: rgb(206, 206, 206);
    text-align: center;
    font-size: .18rem;
    line-height: 1.688;
}

.footer_box {
    align-items: center;
    justify-content: space-between;
    padding-bottom: .28rem;
    border-bottom: .02rem solid rgb(102, 102, 102);
}

.footer_left {
    align-items: center;
}

.footer_txt {
    margin-left: .46rem;
}

.footer_right a:hover {
    text-decoration: none;
}

.footer_top .social-share .social-share-icon {
    background-color: transparent !important;
    color: #999999 !important;
    border-color: #999999 !important;
}

.footer_main {
    padding-top: .6rem;
}




@media only screen and (max-width: 768px) {
    footer {
        padding: 0;
    }

    .footer_main,
    .footer_top {
        display: none;
    }

    .foothd {
        padding: 10px 0;
    }
}

@media only screen and (max-width: 500px) {
    .foothd {
        font-size: 12px;
        line-height: 1.5;
    }

    .space {
        display: block;
        width: 5px;
    }
}